package com.bayihouse.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@TableName(value = "fileinfo")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode
public class FileInfo implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = -2109684134106559135L;

    private Long id;

    private String fileName;

    private Long userId;

    private Long size;

    private Date createTime;

    private Date updateTime;

    private String type;

    private String detail;

    @TableLogic
    private Integer isDelete;
}
